@echo off 
::导出工程前如果要分包则把资源复制到StreamingAssets里
if not exist %var_output_bundle% exit 1
set to=%var_path_project%\Assets\StreamingAssets\BundleAssets
if exist %to% rd /s/q %to%

set from=%var_output_bundle%\BundleAssets
echo %from%
echo %to%
echo AndroidAppBundle:%AndroidAppBundle%

if "%AndroidAppBundle%" == "true" (
	goto Execute
) else (
	goto Skip
)
:Execute
::echo d |xcopy %from% %to% /S /E /Y
exit 0
:Skip
exit 0




